package com.cfpamf.ms.insur.wx.request;


import com.cfpamf.ms.insur.wx.model.WxPayQueryModel;
import com.cfpamf.ms.insur.wx.response.WxPayQueryResponse;

/**
 * 微信订单查询接口
 */
public class WxPayQueryRequest extends WxAbstractRequest<WxPayQueryModel, WxPayQueryResponse> {

    public WxPayQueryRequest(WxPayQueryModel model) {
        setModel(model);
    }

    @Override
    public String getApiAction() {
        return "/pay/orderquery";
    }

    @Override
    public Class<WxPayQueryModel> getObjectClass() {
        return WxPayQueryModel.class;
    }

    @Override
    public Class<WxPayQueryResponse> getResponseClass() {
        return WxPayQueryResponse.class;
    }

    @Override
    public boolean requireCert() {
        return false;
    }
}
